package com.kensure.shike.user.dao;

import co.kensure.annotation.MyBatisRepository;
import co.kensure.frame.JSBaseDao;
import java.util.List;
import java.util.Collection;
import java.util.Map;
import com.kensure.shike.user.model.SKUserFR;

/**
 * 会员分润情况Dao接口类
 * 
 * @author fankd created on 2019-6-24
 * @since
 */
@MyBatisRepository
public interface SKUserFRDao extends JSBaseDao<SKUserFR> {

	public SKUserFR selectOne(Long id);

	public List<SKUserFR> selectByIds(Collection<Long> ids);

	public List<SKUserFR> selectByWhere(Map<String, Object> parameters);
	
	public List<SKUserFR> selectUnionByWhere(Map<String, Object> parameters);

	public long selectCountByWhere(Map<String, Object> parameters);

	public boolean insert(SKUserFR obj);

	public Double sumFr1ByWhere(Map<String, Object> parameters);

	public Double sumFr2ByWhere(Map<String, Object> parameters);

	public boolean update(SKUserFR obj);

	public boolean updateByMap(Map<String, Object> params);

}
